Skip to content

Conversation

@tanmay-db
Copy link
Contributor

@tanmay-db tanmay-db commented Jan 12, 2026

What changes are proposed in this pull request?

This PR adds support for unified host:

  • Separates client type from host type determination, deprecating isAccountClient and replacing it with getHostType() and getClientType() methods using new HostType and ClientType enums
  • Adds an experimental flag to indicate if a host is unified: experimentalIsUnifiedHost
  • Adds a workspaceId attribute to DatabricksConfig, which is necessary for workspace clients that talk to unified hosts
  • Adds getUnifiedOidcEndpoints() function, which is used in the OIDC endpoint resolution logic to discover OAuth endpoints on unified hosts
  • Adds header injection logic in DatabricksConfig.authenticate() which adds an X-Databricks-Org-Id header to requests made by workspace clients on unified hosts
  • Adds comprehensive test coverage including unit tests for host/client type detection, OIDC endpoint resolution, header injection, and integration tests

Similar to what is done for:

How is this tested?

  • Unit tests
  • Manually E2E tested with a spog profile

@tanmay-db tanmay-db changed the title [Feature] Support for Unified Host [WIP] [Feature] Support for Unified Host Jan 12, 2026
@tanmay-db tanmay-db changed the title [WIP] [Feature] Support for Unified Host [Feature] Support for Unified Host Jan 19, 2026
@tanmay-db tanmay-db deployed to test-trigger-is January 19, 2026 01:11 — with GitHub Actions Active
@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-java

Inputs:

  • PR number: 612
  • Commit SHA: 129448613115c41312cd607da14cbeb6b2c04f6a

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants